package com.example.bookmanagement.service;

import com.example.bookmanagement.entity.User;

import java.util.Optional;

public interface UserService {
    Optional<User> findByUsername(String username);
    boolean authenticate(String username, String password);
}    